package com.ccys.app.controller;

import com.ccys.app.service.CallStandByScreenService;
import com.ccys.common.vo.ResponseResultApp;
import com.ccys.db.vo.app.callStandByScreen.CheckConsultReadyVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: WhiteCoat
 * @description: 呼叫时待机页面的接口
 * @author: ZhangJingCan
 * @create: 2024-01-23 13:59
 **/

@RestController
@Api(tags = "呼叫时待机页面的接口")
@RequestMapping("callStandByScreen")
public class CallStandByScreenController {

    @Autowired
    private CallStandByScreenService callStandByScreenService;

    @ApiOperation("根据bookingId查询是否就绪？")
    @GetMapping(value = "/CheckConsultReady")
    public ResponseResultApp<CheckConsultReadyVo> checkConsultReady(String booking_id) {
        return callStandByScreenService.checkConsultReady(booking_id);
    }

}
